package com.wjggy.core.demo.aop;


import org.apache.log4j.Logger;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.stereotype.Component;


/**
 * <p>Description:  </p>
 * <p>Copyright:Copyright (c) 2012  </p>
 * <p>Company:wjggy  </p>
 * @author xiaofan.yu  
 * @date   2012-1-8 下午11:08:22    
 * @project  wjggy
 * @version  1.0.0
 * @see   
 *  @since 1.6
 */
//@Component("userHandleAop")
public class UserHandleAop {
	private static final Logger log = Logger.getLogger(UserHandleAop.class);
	//方法执行的前后调用  
    public Object around(ProceedingJoinPoint point) throws Throwable{  
    	log.info("用户操作拦截 调用方法即将开始："+point.toString());
        Object object = point.proceed();  
        log.info("用户操作拦截  调用方法即将结束 ");
        return object;  
    }  
}
